package com.sunlands.deskmate.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import java.io.Serializable;

/**
 * @author zhangxiaobin
 * @title: RecentChatVO
 * @description: TODO
 * @date 2019/7/1810:55
 */
@Data
@ToString
public class RecentChatVO implements Serializable {

    @ApiModelProperty(value = "用户id", required = true)
    private String userId;

    @ApiModelProperty(value = "目标id，type=1 则代表用户id，type=2，则代表群id，type=3 则代表房间id", required = true)
    private String destId;

    @ApiModelProperty(value = "名称", required = true)
    private String destName;

    @ApiModelProperty(value = "头像url", required = true)
    private String destAvatarUrl;

    @ApiModelProperty(value = "1 私聊  2 群 3房间", required = true)
    private Integer type; //1 私聊  2 群 3房间


}
